package com.hnit.web.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jdk.jfr.Description;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("order_items")
@AllArgsConstructor
@NoArgsConstructor
public class OrderItems {
    @TableId
    @Description("订单详情ID")
    private Long orderItemId;
    @Description("订单ID")
    private Long orderId;
    @Description("商品ID")
    private Long productId;
    @Description("数量")
    private Integer quantity;
    @Description("商品单价")
    private Double price;
}